Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / core / network / src / androidMain / kotlin / org / meshtastic / core / network / repository / AndroidServiceDiscovery.kt

Displaying Raw • Download

core/network/src/androidMain/kotlin/org/meshtastic/core/network/repository/AndroidServiceDiscovery.kt e85300531e124df08788c1b765d50af1bf6d516d (e8530053) Text, 1.60 KB

T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.network.repository

Tff7b72import T7ee787android.net.nsd.NsdManager
Tff7b72import T7ee787kotlinx.coroutines.flow.Flow
Tff7b72import T7ee787kotlinx.coroutines.flow.map
Tff7b72import T7ee787org.koin.core.annotation.Single

Tf0883e@Single
Tff7b72class T56d364AndroidServiceDiscoveryTb4b4b4(Tff7b72private Tff7b72val Te6edf3nsdManagerTb4b4b4: Te6edf3NsdManagerTb4b4b4) Tb4b4b4: Te6edf3ServiceDiscovery Tb4b4b4{
Tff7b72override Tff7b72val Te6edf3resolvedServicesTb4b4b4: Te6edf3FlowTff7b72<Te6edf3ListTff7b72<Te6edf3DiscoveredServiceTff7b72>Tff7b72> Tff7b72=
Te6edf3nsdManagerTb4b4b4.Te6edf3serviceListTb4b4b4(Te6edf3NetworkConstantsTb4b4b4.Te6edf3SERVICE_TYPETb4b4b4)Tb4b4b4.Te6edf3map Tb4b4b4{ Te6edf3list Tff7b72-Tff7b72>
Te6edf3listTb4b4b4.Te6edf3map Tb4b4b4{ Te6edf3info Tff7b72-Tff7b72>
Tff7b72val Te6edf3txtMap Tff7b72= Te6edf3mutableMapOfTff7b72<Tffa657StringTb4b4b4, Te6edf3ByteArrayTff7b72>Tb4b4b4(Tb4b4b4)
Te6edf3infoTb4b4b4.Te6edf3attributesTb4b4b4.Te6edf3forEach Tb4b4b4{ Tb4b4b4(Te6edf3keyTb4b4b4, Te6edf3valueTb4b4b4) Tff7b72-Tff7b72> Te6edf3txtMapTff7b72[Te6edf3keyTff7b72] Tff7b72= Te6edf3value Tb4b4b4}
Tf0883e@SuppressTb4b4b4(Ta5d6ff"Ta5d6ffDEPRECATIONTa5d6ff"Tb4b4b4)
Te6edf3DiscoveredServiceTb4b4b4(
Te6edf3name Tff7b72= Te6edf3infoTb4b4b4.Te6edf3serviceNameTb4b4b4,
Te6edf3hostAddress Tff7b72= Te6edf3infoTb4b4b4.Te6edf3hostTff7b72?.Te6edf3hostAddress Tff7b72?: Ta5d6ff"Ta5d6ff"Tb4b4b4,
Te6edf3port Tff7b72= Te6edf3infoTb4b4b4.Te6edf3portTb4b4b4,
Te6edf3txt Tff7b72= Te6edf3txtMapTb4b4b4,
Tb4b4b4)
Tb4b4b4}
Tb4b4b4}
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s